package com.zslin;

import com.spring4all.swagger.EnableSwagger2Doc;
import com.zslin.basic.repository.BaseRepositoryFactoryBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@EnableSwagger2Doc
@SpringBootApplication
@EnableJpaRepositories(basePackages = "com.zslin",
        repositoryFactoryBeanClass = BaseRepositoryFactoryBean.class)
public class RootApplication {

    public static void main(String[] args) {
        SpringApplication.run(RootApplication.class, args);
    }

}
